package com.lei.chinese_herbal_medicine.Service.Impl;
import com.lei.chinese_herbal_medicine.Entity.Flow;
import com.lei.chinese_herbal_medicine.Mapper.FlowMapper;
import com.lei.chinese_herbal_medicine.Service.FlowService;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.annotation.Resource;


/**
 * (Flow)表服务实现类
 *
 * @author makejava
 * @since 2024-01-25 15:58:45
 */
@Service("flowService")
public class FlowServiceImpl implements FlowService {
    @Resource
    private FlowMapper flowMapper;

    @Override
    public boolean updateFlow(Flow flow) {
        return flowMapper.updateByPrimaryKeySelective(flow)==1;
    }
}


